/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the
 * License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */
/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * AuthenticationSubscription.h
 *
 *
 */

#ifndef AuthenticationSubscription_H_
#define AuthenticationSubscription_H_

#include <nlohmann/json.hpp>
#include <string>

#include "AuthMethod.h"
#include "SequenceNumber.h"

namespace oai::udr::model {

/// <summary>
///
/// </summary>
class AuthenticationSubscription {
public:
  AuthenticationSubscription();
  virtual ~AuthenticationSubscription();

  void validate();

  /////////////////////////////////////////////
  /// AuthenticationSubscription members

  /// <summary>
  ///
  /// </summary>
  std::string getAuthenticationMethod() const;
  void setAuthenticationMethod(std::string const &value);
  /// <summary>
  ///
  /// </summary>
  std::string getEncPermanentKey() const;
  void setEncPermanentKey(std::string const &value);
  bool encPermanentKeyIsSet() const;
  void unsetEncPermanentKey();
  /// <summary>
  ///
  /// </summary>
  std::string getProtectionParameterId() const;
  void setProtectionParameterId(std::string const &value);
  bool protectionParameterIdIsSet() const;
  void unsetProtectionParameterId();
  /// <summary>
  ///
  /// </summary>
  SequenceNumber getSequenceNumber() const;
  void setSequenceNumber(SequenceNumber const &value);
  bool sequenceNumberIsSet() const;
  void unsetSequenceNumber();
  /// <summary>
  ///
  /// </summary>
  std::string getAuthenticationManagementField() const;
  void setAuthenticationManagementField(std::string const &value);
  bool authenticationManagementFieldIsSet() const;
  void unsetAuthenticationManagementField();
  /// <summary>
  ///
  /// </summary>
  std::string getAlgorithmId() const;
  void setAlgorithmId(std::string const &value);
  bool algorithmIdIsSet() const;
  void unsetAlgorithmId();
  /// <summary>
  ///
  /// </summary>
  std::string getEncOpcKey() const;
  void setEncOpcKey(std::string const &value);
  bool encOpcKeyIsSet() const;
  void unsetEncOpcKey();
  /// <summary>
  ///
  /// </summary>
  std::string getEncTopcKey() const;
  void setEncTopcKey(std::string const &value);
  bool encTopcKeyIsSet() const;
  void unsetEncTopcKey();
  /// <summary>
  ///
  /// </summary>
  bool isVectorGenerationInHss() const;
  void setVectorGenerationInHss(bool const value);
  bool vectorGenerationInHssIsSet() const;
  void unsetVectorGenerationInHss();
  /// <summary>
  ///
  /// </summary>
  std::string getN5gcAuthMethod() const;
  void setN5gcAuthMethod(std::string const &value);
  bool n5gcAuthMethodIsSet() const;
  void unsetN5gcAuthMethod();
  /// <summary>
  ///
  /// </summary>
  bool isRgAuthenticationInd() const;
  void setRgAuthenticationInd(bool const value);
  bool rgAuthenticationIndIsSet() const;
  void unsetRgAuthenticationInd();
  /// <summary>
  ///
  /// </summary>
  std::string getSupi() const;
  void setSupi(std::string const &value);
  bool supiIsSet() const;
  void unsetSupi();

  friend void to_json(nlohmann::json &j, const AuthenticationSubscription &o);
  friend void from_json(const nlohmann::json &j, AuthenticationSubscription &o);

protected:
  std::string m_AuthenticationMethod;

  std::string m_EncPermanentKey;
  bool m_EncPermanentKeyIsSet;
  std::string m_ProtectionParameterId;
  bool m_ProtectionParameterIdIsSet;
  SequenceNumber m_SequenceNumber;
  bool m_SequenceNumberIsSet;
  std::string m_AuthenticationManagementField;
  bool m_AuthenticationManagementFieldIsSet;
  std::string m_AlgorithmId;
  bool m_AlgorithmIdIsSet;
  std::string m_EncOpcKey;
  bool m_EncOpcKeyIsSet;
  std::string m_EncTopcKey;
  bool m_EncTopcKeyIsSet;
  bool m_VectorGenerationInHss;
  bool m_VectorGenerationInHssIsSet;
  std::string m_N5gcAuthMethod;
  bool m_N5gcAuthMethodIsSet;
  bool m_RgAuthenticationInd;
  bool m_RgAuthenticationIndIsSet;
  std::string m_Supi;
  bool m_SupiIsSet;
};

} // namespace oai::udr::model

#endif /* AuthenticationSubscription_H_ */
